package com.ffox.mapper;

import com.ffox.entity.Teachers;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface SchoolTeacherMapper {
    Integer addTeacher(@Param("params") Map<String, Object> params);
    Integer updateTeacher(@Param("teacherId") String teacherId,@Param("params") Map<String, Object> params);
    Integer deleteTeacher(@Param("teacherId") String teacherId);

    List<Teachers> getALlTeacherBySchoolId(@Param("schoolNum") String schoolNum);
}
